<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>管理栏目</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	<div style="width: 80%;margin: 50px 0 0 30px;">
          <div class="alert alert-block">   
            <h4>温馨提醒!</h4>
            <p>类别名称在14个字符[7个汉字]以内</p>
          </div><br/>
              <div class="tab-content">       
                <div class="tab-pane active" style="height: 800px;"><!-- 添加类别父栏目 -->
                   <table id="alertT"><tr valign="top">
              			<td>
					     <div class="btn-group">
			                <a href="javascript:return false;" class="btn btn-primary">添加父类别</a>
			              </div>          				
              			</td>
              				
              			<td>
              				<form class="navbar-form pull-left" action="" >
						       <input type="text" class="span2" name="categoryParName">
							   <button type="button" class="btn" onclick="addCategory(1)">添加</button>
					       </form>
              			</td>
               		</tr>
               		</table>
               		
               		<table class="table table-bordered table-striped" id="names">
			            
			            <thead>
			              <tr>
			                <th>栏目名</th>
			                <th>操作</th>
			              </tr>
			            </thead>
			            
			            <tbody><!-- 
			              <tr>
			                <td>Default</td>
			                <td><span class="badge">1</span></td>
			                <td>ni haoa </td> 
			              </tr>
			                -->
			            </tbody>
			          </table>
    	 </div>
    	 </div>
         
    </div>
  </body>
</html>
